package com.hmdp.utils;

/**
 * Redis实现分布式锁
 */
public interface ILock {

    boolean tryLock(long timeOut);

    void unlock();
}
